<%@ include file="/taglibs.jsp"%>

<head>
    <title><fmt:message key="orderDeliveryAddressList.title"/></title>
    <meta name="heading" content="<fmt:message key='orderDeliveryAddressList.heading'/>"/>
    <meta name="menu" content="OrderDeliveryAddressMenu"/>
</head>

<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="/editOrderDeliveryAddress"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<display:table name="orderDeliveryAddresss" class="table" requestURI="" id="orderDeliveryAddressList" export="true" pagesize="25">
    <display:column property="id" sortable="true" href="editOrderDeliveryAddress" media="html"
        paramId="id" paramProperty="id" titleKey="orderDeliveryAddress.id"/>
    <display:column property="id" media="csv excel xml pdf" titleKey="orderDeliveryAddress.id"/>
    <display:column property="address" sortable="true" titleKey="orderDeliveryAddress.address"/>
    <display:column property="city" sortable="true" titleKey="orderDeliveryAddress.city"/>
    <display:column property="province" sortable="true" titleKey="orderDeliveryAddress.province"/>
    <display:column property="country" sortable="true" titleKey="orderDeliveryAddress.country"/>
    <display:column property="mobile" sortable="true" titleKey="orderDeliveryAddress.mobile"/>
    <display:column property="consignee" sortable="true" titleKey="orderDeliveryAddress.consignee"/>
    <display:column property="order.id" sortable="true" titleKey="orderDeliveryAddress.order.id"/>

    <display:setProperty name="paging.banner.item_name"><fmt:message key="orderDeliveryAddressList.orderDeliveryAddress"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="orderDeliveryAddressList.orderDeliveryAddresss"/></display:setProperty>

    <display:setProperty name="export.excel.filename"><fmt:message key="orderDeliveryAddressList.title"/>.xls</display:setProperty>
    <display:setProperty name="export.csv.filename"><fmt:message key="orderDeliveryAddressList.title"/>.csv</display:setProperty>
    <display:setProperty name="export.pdf.filename"><fmt:message key="orderDeliveryAddressList.title"/>.pdf</display:setProperty>
</display:table>

<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="/editOrderDeliveryAddress"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<script type="text/javascript">
    highlightTableRows("orderDeliveryAddressList");
</script>